<!DOCTYPE html>
<html lang="zh" xmlns="http://www.w3.org/1999/html">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <meta name="viewport"
          content="initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0, viewport-fit=cover">
    <title>提示</title>
    <style>
        html, body {
            background-color: white
        }

        #item1 {
            position: relative;
            margin: 40px;
            background: url();
            background-size: 100% 100%;
            background-repeat: no-repeat;
            display: none;
        }

        #item1 #spErr {
            width: 100%;
            display: block;
            text-align: center;
            font-size: 16pt;
            font-family: PingFangSC;
            color: #8a8e91;
            position: absolute;
            bottom: 0px;
        }

        #item1 #action {
            width: 100%;
            display: block;
            text-align: center;
            font-size: 10pt;
            font-family: PingFangSC;
            color: #8a8e91;
            position: absolute;
            bottom: -80px;
        }

        #item1 #spCode {
            width: 100%;
            display: block;
            text-align: center;
            font-size: 12pt;
            font-family: PingFangSC;
            color: #8a8e91;
            position: absolute;
            bottom: -30px;
        }
    </style>
</head>
<body>
<div id="item1" style="display:block">
    <img/>
    <span id="spErr">
            <% =ErrorMsg%>
        </span>
    </br>
    <span id="spCode">
            <% =ErrorCode%>
        </span>
    <br/>
    <span id="action">
            <div style="display: inline-block; text-align: left">
                可尝试退出当前页面重新进入
            </div>
        </span>
</div>
</body>
</html>
<script type="text/javascript">
    if (/[&|?]errorMsg=([^&$]*)/gi.test(location.search)) {
        document.getElementById("spErr").innerHTML = decodeURIComponent(RegExp.$1);
    }
    var dbg = document.getElementById("item1");
    dbg.style.height = (dbg.clientWidth * .69) + "px";
</script>